<%--
  Created by IntelliJ IDEA.
  User: desire
  Date: 2022/4/20
  Time: 10:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Title</title>
</head>
<body>
${msg}

<h1>文件上传</h1>
<form action="${pageContext.request.contextPath}/fileUpload" method="post" enctype="multipart/form-data">
    <label>
      用户名：<input type="text" name="username">
    </label>
    <br>
    头像：<input type="file" name="headFile">
    <br>
    <input type="submit" value="上传">


</form>
</body>
</html>
